package com.xdjmall.entity;

import java.time.LocalDate;

//轮播
public class Carousel {
    //首页轮播图主键id
    private Integer carouselId;
    //轮播图地址
    private String carouselUrl;
    //点击后的跳转地址
    private String redirectUrl;
    //排序值(字段越大越靠前)
    private Integer carouselRank;
    //删除标识字段(0-未删除 1-已删除)
    private Boolean isDeleted;
    //创建时间
    private LocalDate createTime;
    //创建者id
    private Integer createUser;
    //修改时间
    private LocalDate updateTime;
    //修改者id
    private Integer updateUser;
    
	public Integer getCarouselId() {
		return carouselId;
	}
	public void setCarouselId(Integer carouselId) {
		this.carouselId = carouselId;
	}
	public String getCarouselUrl() {
		return carouselUrl;
	}
	public void setCarouselUrl(String carouselUrl) {
		this.carouselUrl = carouselUrl;
	}
	public String getRedirectUrl() {
		return redirectUrl;
	}
	public void setRedirectUrl(String redirectUrl) {
		this.redirectUrl = redirectUrl;
	}
	public Integer getCarouselRank() {
		return carouselRank;
	}
	public void setCarouselRank(Integer carouselRank) {
		this.carouselRank = carouselRank;
	}
	public Boolean getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Boolean isDeleted) {
		this.isDeleted = isDeleted;
	}
	public LocalDate getCreateTime() {
		return createTime;
	}
	public void setCreateTime(LocalDate createTime) {
		this.createTime = createTime;
	}
	public Integer getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}
	public LocalDate getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(LocalDate updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Integer updateUser) {
		this.updateUser = updateUser;
	}
	@Override
	public String toString() {
		return "Carousel [carouselId=" + carouselId + ", carouselUrl=" + carouselUrl + ", redirectUrl=" + redirectUrl
				+ ", carouselRank=" + carouselRank + ", isDeleted=" + isDeleted + ", createTime=" + createTime
				+ ", createUser=" + createUser + ", updateTime=" + updateTime + ", updateUser=" + updateUser + "]";
	}
}